home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / disk / cdrom / SkandalfoCDP.lha / SCDPlayer / Sources / scdplocale.h < prev    next >
Text File  |  1996-09-01  |  5KB  |  214 lines

  1. enum localemsg
  2. {
  3.     MSG_FailMUI=0,
  4.     MSG_FailStack,
  5.     MSG_FailApplication,
  6.     MSG_FailMemory,
  7.     MSG_FailNoTimer,
  8.     MSG_FailNoDevice,
  9.     MSG_FailNoIO,
  10.     MSG_FailNoMP,
  11.     MSG_FailNoFont,
  12.  
  13.     MSG_SCDPDescription,
  14.     MSG_Track,
  15.     MSG_TitleTime,
  16.     MSG_CDTime,
  17.     MSG_NoDisc,
  18.     MSG_ListButton,
  19.     MSG_ProgramButton,
  20.     MSG_CDInformation,
  21.     MSG_Artist,
  22.     MSG_CDTitle,
  23.     MSG_TitleList,
  24.     MSG_Use,
  25.     MSG_Save,
  26.     MSG_Cancel,
  27.     MSG_ProgramWindowTitle,
  28.     MSG_New,
  29.     MSG_Delete,
  30.     MSG_Top,
  31.     MSG_Up,
  32.     MSG_Down,
  33.     MSG_Bottom,
  34.     MSG_ProgramList,
  35.     MSG_UnknownArtist,
  36.     MSG_UnknownTitle,
  37.     MSG_DataTrack,
  38.     MSG_TrackNo,
  39. /* Version 1.2 has a menu */
  40.     MSG_MenuProject,
  41.     MSG_MenuAbout,
  42.     MSG_MenuAboutKey,
  43.     MSG_MenuAboutMUI,
  44.     MSG_MenuQuit,
  45.     MSG_MenuQuitKey,
  46.     MSG_MenuSettings,
  47.     MSG_MenuMUI,
  48. /* For About requester */
  49.     MSG_AboutText,
  50.     MSG_AboutGadget,
  51. /* Version 1.2 added help bubbles */
  52.     MSG_HelpInfo,
  53.     MSG_HelpPlay,
  54.     MSG_HelpPause,
  55.     MSG_HelpStop,
  56.     MSG_HelpPrevious,
  57.     MSG_HelpNext,
  58.     MSG_HelpRewind,
  59.     MSG_HelpFastForward,
  60.     MSG_HelpEject,
  61.     MSG_HelpVolume,
  62.     MSG_HelpProgramL,
  63.     MSG_HelpShuffle,
  64.     MSG_HelpRepeat,
  65.     MSG_HelpTrackSelect,
  66.     MSG_HelpList,
  67.     MSG_HelpProgramR,
  68.  
  69.     MSG_HelpArtist,
  70.     MSG_HelpCDTitle,
  71.     MSG_HelpTitles,
  72.     MSG_HelpTitle,
  73.     MSG_HelpUse,
  74.     MSG_HelpSave,
  75.     MSG_HelpCancel,
  76.  
  77.     MSG_HelpPTitles,
  78.     MSG_HelpNew,
  79.     MSG_HelpDelete,
  80.     MSG_HelpTop,
  81.     MSG_HelpUp,
  82.     MSG_HelpDown,
  83.     MSG_HelpBottom,
  84.     MSG_HelpProgramList,
  85.     /* For V1.3 */
  86.     MSG_AutoPlay,
  87.     MSG_AutoProgram,
  88.     MSG_AutoShuffle,
  89.     MSG_AutoRepeat,
  90.     /* V1.3 Help Bubbles */
  91.     MSG_HelpAutoPlay,
  92.     MSG_HelpAutoProgram,
  93.     MSG_HelpAutoShuffle,
  94.     MSG_HelpAutoRepeat,
  95. /* V1.5: ARexx menu */
  96.     MSG_ARexx,
  97.     MSG_Execute,
  98.     MSG_SelectARexx,
  99. };
  100.  
  101. unsigned char *defstr[]=
  102. {
  103.     "Failed to open muimaster.library.",
  104.     "Not enough stack.",
  105.     "Couldn't set up the application.",
  106.     "Not enough memory.",
  107.     "Couldn't open timer.device.",
  108.     "Couldn't open specified device.",
  109.     "Couldn't obtain IORequest.",
  110.     "Couldn't obtain MsgPort.",
  111.     "Failed to open a font.",
  112.  
  113.     "MUI CDDA Player",
  114.     "Track",
  115.     "Title time",
  116.     "CD time",
  117.     "No Disc",
  118.     "_List",
  119.     "_Program",
  120.     "CD information",
  121.     "Artist",
  122.     "CD Title",
  123.     "Title list",
  124.     "_Use",
  125.     "_Save",
  126.     "_Cancel",
  127.     "Program",
  128.     "New",
  129.     "Delete",
  130.     "Top",
  131.     "Up",
  132.     "Down",
  133.     "Bottom",
  134.     "Program list",
  135.     "Unknown artist",
  136.     "Unknown title",
  137.     "%02d: Data track",
  138.     "%02d: Track no. %d",
  139.  
  140. /* Version 1.2 has a menu */
  141.     "Project",
  142.     "About...",
  143.     "?",
  144.     "About MUI...",
  145.     "Quit",
  146.     "Q",
  147.     "Settings",
  148.     "MUI...",
  149.  
  150. /* For About requester */
  151.     "SCDPlayer " VERSION "\nAudio player for SCSI-II and Atapi CD-ROM drives.\n© 1996 Juan J. García de Soria.",
  152.     "OK",
  153. /* Version 1.2 added help bubbles */
  154.     "Shows playing information.",
  155.     "Start playing.",
  156.     "Pause/resume playing.",
  157.     "Stop playing.",
  158.     "Go to previous track.",
  159.     "Go to next track.",
  160.     "Jump 5 seconds back.",
  161.     "Jump 5 seconds forward.",
  162.     "Eject/load the disc.",
  163.     "Change the playing volume.",
  164.     "Toggle Program mode.",
  165.     "Toggle Shuffle mode.",
  166.     "Toggle Repeat mode.",
  167.     "Active entry shows what track is being played.\nDouble-click a track to jump to it.",
  168.     "Edit CD information.",
  169.     "Edit the current program.",
  170.  
  171.     "Enter the artist's name here.",
  172.     "Enter current CD title here.",
  173.     "List of track titles.",
  174.     "Edit the titles here.",
  175.     "Use the changes now.",
  176.     "Save the changes to disk.",
  177.     "Cancel the changes.",
  178.  
  179.     "List of track titles.\nDouble-click or drag to include in the program.",
  180.     "Clear the program.",
  181.     "Delete selected programmed track.",
  182.     "Move selected programmed track to the top.",
  183.     "Move selected programmed track up.",
  184.     "Move selected programmed track down.",
  185.     "Move selected programmed track to the bottom.",
  186.     "List of programmed tracks.\nDrag to sort, double-click to delete.",
  187.     /* New for V1.3 */
  188.     "Auto Play",
  189.     "Auto Program",
  190.     "Auto Shuffle",
  191.     "Auto Repeat",
  192.     /* V1.3 Help Bubbles */
  193.     "If checked, this CD starts playing when inserted.",
  194.     "If checked, Program Mode is set when this CD is inserted.",
  195.     "If checked, Shuffle Mode is set when this CD is inserted.",
  196.     "If checked, Repeat Mode is set when this CD is inserted.",
  197. /* V1.5: ARexx menu */
  198.     "ARexx",
  199.     "Execute...",
  200.     "Select an ARexx script",
  201.  
  202. };
  203.  
  204. unsigned char *glstr(ULONG num)
  205. {
  206.     if(LocaleBase && catalog)
  207.     {
  208.         return GetCatalogStr(catalog,num,defstr[num]);
  209.     }
  210.     else
  211.         return defstr[num];
  212. }
  213.  
  214.